using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LS.Event;

namespace LS.Saving
{
    public class LoadDatabaseFailureEventArgs : LSGameEventArgs<LoadDatabaseFailureEventArgs>
    {
        public string GroupName { get; set; }
        
        public IDataFile File { get; set; }
        
        public Database Database { get; set; }

        public string Error { get; set; }

        public override void Clear()
        {
            GroupName = null;
            File = null;
            Database = null;
            Error = null;
            base.Clear();
        }
    }
}
